package com.blog.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.blog.entity.AdminUser;

public interface BaseService<T> {
    Page<T> index(T param, Page<T> page);

    T create(T model);

    T update(T model);

    boolean delete(int id);

    T view(int id);

}
